package io.framework.modules.sys.service;

import io.framework.common.page.PageData;
import io.framework.common.service.BaseService;
import io.framework.modules.sys.dto.FavoritesDTO;
import io.framework.modules.sys.entity.FavoritesEntity;
import io.framework.modules.sys.entity.FavoritesEntity;

import java.util.List;
import java.util.Map;


/**
 * 系统用户
 * 
 *
 */
public interface FavoritesService extends BaseService<FavoritesEntity> {

	PageData<FavoritesDTO> page(Map<String, Object> params);

	List<FavoritesDTO> list(Map<String, Object> params);

	FavoritesDTO get(Long id);

	FavoritesDTO getByUsername(String username);

	void save(FavoritesDTO dto);

	void update(FavoritesDTO dto);

	void delete(Long[] ids);

}
